home *** CD-ROM | disk | FTP | other *** search
/ Champak 142 / Volume 142 Oct 17 2011 - Damaged.iso / Games / parasite-x.swf / scripts / frame_22 / PlaceObject2_95_1 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Text File  |  2011-10-17  |  472b  |  26 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.gamepaused == 0)
  3.    {
  4.       this._y += this.speed1;
  5.       if(this.hitTest(_root.badhit))
  6.       {
  7.          this.reset();
  8.          _root.lives -= 1;
  9.          _root.hurt = 1.3;
  10.       }
  11.    }
  12.    if(this.hitTest(_root.Test))
  13.    {
  14.       this.play();
  15.       _root.combobox.gotoAndPlay(1);
  16.    }
  17.    if(this.hitTest(_root.Test2))
  18.    {
  19.       this.play();
  20.    }
  21.    if(this.hitTest(_root.bomb))
  22.    {
  23.       this.play();
  24.    }
  25. }
  26.